#include <stdio.h>
#include <string.h>

struct Book
{
    char name[10];
    char author[10];
    char subject[10];
    int id;
};

int main()
{

    struct Book book1;
    struct Book book2;

    strcpy(book1.name, "C Programming");
    strcpy(book1.author, "Author1");
    strcpy(book1.subject, "Subject1");
    book1.id = 1;

    strcpy(book2.name, "C++ Programming");
    strcpy(book2.author, "Author2");
    strcpy(book2.subject, "Subject2");
    book2.id = 2;

    printf("book1: %s, %s, %s, %d\n", book1.name, book1.author, book1.subject, book1.id);
    printf("book2: %s, %s, %s, %d\n", book2.name, book2.author, book2.subject, book2.id);

    return 0;
}